import apiCreator from '@/src/utils/apiCreator';
import config from '@/src/utils/config';

const api = apiCreator();

export default {
  // 城投债信用利差分析表格数据
  getCreditSpreadAnalysisTable: (query) => api.post(`${config.interfaces.type5}maat-report/v1/investmentBndCreditSpreadAnalysis/regionalCreditSpread`, query),
  // 区域信用利差走势图
  regionalCreditSpreadChart: (query) => api.get(`${config.interfaces.type5}maat-report/v1/investmentBndCreditSpreadAnalysis/trendChart`, query),
};
